# Run:
# gawk -f user.awk /etc/passwd

BEGIN {
    print "The latest list of users and shells"
    print " Userid  Shell"
    print "---------------"
    FS=":"
}
{
    print $1 "    " $7
}
END {
    print "This concludes the listing"
}

